package com.woniu.model.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author EdisonLiu
 * @since 2024年05月23日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("y_venue_coach")
public class YVenueCoach implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 单个场馆内的教练id
     */
    @TableField("coach_id")
    private Integer coachId;

    /**
     * 场馆id
     */
    @TableField("venue_id")
    private Integer venueId;

    /**
     * 场馆内教练类型 1 团教  2私教
     */
    @TableField("coach_type_id")
    private Integer coachTypeId;

    /**
     * 电话
     */
    @TableField("coach_phone")
    private String coachPhone;

    /**
     * 教练状态 1在职 2离职
     */
    @TableField("coach_state")
    private Integer coachState;

    /**
     * 教练资质证书
     */
    @TableField("card_image")
    private String cardImage;

    /**
     * 入职时间
     */
    @TableField("join_date")
    private LocalDateTime joinDate;

    /**
     * 离职时间
     */
    @TableField("out_date")
    private LocalDateTime outDate;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;


}
